﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WenJianChuanSong.aspx.cs" Inherits="Three_Managerment_Problem_one_WenJianChuanSong" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <%--<link href="/style/css/style.css" rel="stylesheet" type="text/css" />--%>
    <link href="/style/css/style4.css" rel="stylesheet" type="text/css" />
    <%--    <script type="text/javascript" src="/style/js/jquery.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>--%>


    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>


    <%--timepicker--%>
        <link type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/smoothness/jquery-ui.css" rel="stylesheet" />

    <link href="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.css" type="text/css" />
    <link href="/style/jQuery-Timepicker-Addon/demos.css" rel="stylesheet" type="text/css" />

    <script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.1/jquery-ui.min.js"></script>
    <script src="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <!--中文-->
    <script src="/style/js/jquery.ui.datepicker-zh-CN.js.js" type="text/javascript" charset="gb2312"></script>
    <script src="/style/js/jquery-ui-timepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(function () {
            // 时间设置
            jQuery('#timebeg').datetimepicker({
                timeFormat: "HH:mm:ss",
                dateFormat: "yy-mm-dd"
            });
            jQuery('#timeend').datetimepicker({
                timeFormat: "HH:mm:ss",
                dateFormat: "yy-mm-dd"
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">待办事件查询</a></li>
            </ul>
        </div>

        <div class="formbody">
            <div class="tab_12">

                
                <div class="bottab9">
                    <div class="bottab9_l">
                        <p>文件搜索：</p>
                     <input id="title" type="text" maxlength="50" runat="server" />
                    </div>
                    <div class="bottab9_l">
                        <p>开始日期：</p>
                     <input id="timebeg" type="text" runat="server" />
                    </div>

                   
                    <div class="bottab9_l">
                        <p>结束日期：</p>
                        <input name="" type="text" id="timeend" runat="server" />
                    </div> 
                    <asp:Button text="查询" style="margin-left:6%" runat="server" OnClick="Unnamed_Click1" class="bunt_3"/>
                  <asp:Button text="上传文件" style="margin-left:6%" runat="server" OnClick="Unnamed_Click" class="bunt_3"/>
                </div>
               


            </div>

            <div id="usual1" class="usual">

            

                <div id="tab1" class="tabson">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>

                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater" >
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="50%">主题</th>
                                                <th width="20%">上传人</th>
                                                <th width="20%">上传日期</th>
                                              
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr onclick="javascript:window.location.href='Scwj.aspx?type=look&id=<%#Eval("id") %>'">

                                       
                                            <td style="overflow: hidden"><%#Eval("zt") %></td>
                                            <td style="overflow: hidden"><%#Eval("scr") %></td>
                                            <td style="overflow: hidden"><%#Eval("scrq") %></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                       
                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>


                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>

                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>


               
                    </div>
                <script type="text/javascript">
                    $("#usual1 ul").idTabs();
                </script>

                <script type="text/javascript">
                    $('.tablelist tbody tr:odd').addClass('odd');
                </script>
            </div>
    </form>
</body>
</html>

